| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | (function ($, app) { | ||
| 12 |         .on('pjax:end', function (event, content, options) { | ||
| 13 |             /*if (!options.push) { | ||
| 14 | return; | ||
| 15 | }*/ | ||
| 16 |             var currentItems = $(event.target).find('[data-' + app.PJAX_MENU + ']'); | ||
| 17 |             if (currentItems) { | ||
| 18 | var selectedLinks = currentItems.data(app.PJAX_MENU); | ||
| 19 | options.selectedLinks = selectedLinks; | ||
| 20 | setCurrentMenuItem(selectedLinks); | ||
| 21 | } | ||
| 22 | }); | ||
| 23 | |||
| 39 | 
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.